export default {
    namespaced: true,
    state: {
        form: {
            cil_title    : '',
            cil_describe : '',
            cil_url      : '',
            cil_size     : 0,
            cil_format   : '',
            cil_cicid    : ''
        },
        categoryData : []
    },
    mutations: {
        updateCategoryData(state,data){
            state.categoryData = data
        },
        clearForm(state) {
            state.form = {
                cil_title    : '',
                cil_describe : '',
                cil_url      : '',
                cil_cicid    : '',
                cil_size     : 0,
                cil_format   : ''
            }
        }
    }
}